package com.heima.model.user.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * APP用户表(ApUser)实体类
 *
 * @author makejava
 * @since 2022-04-18 20:57:02
 */
public class ApUser implements Serializable {
    private static final long serialVersionUID = -39774227560336368L;
    /**
     * 主键
     */
    private Long id;
    /**
     * 用户名
     */
    private String username;
    /**
     * 密码
     */
    private String password;
    /**
     * 盐
     */
    private String salt;
    /**
     * 昵称
     */
    private String nicknme;
    /**
     * 头像
     */
    private String image;
    /**
     * 手机号
     */
    private String phone;
    /**
     * 性别;0: 男  1 :女
     */
    private Integer gender;
    /**
     * 状态;0 : 正常 , 1 : 封禁 , 2 : 删除
     */
    private Integer status;
    /**
     * 标签;0 : 普通用户 , 1 : 大v用户  2 : 企业用户
     */
    private Integer flag;
    /**
     * 是否认证;0: 未认证  1 : 已认证
     */
    private Integer isAuthentication;
    /**
     * 创建时间
     */
    private Date createdTime;
    /**
     * 更新时间
     */
    private Date updatedTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getNicknme() {
        return nicknme;
    }

    public void setNicknme(String nicknme) {
        this.nicknme = nicknme;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public Integer getIsAuthentication() {
        return isAuthentication;
    }

    public void setIsAuthentication(Integer isAuthentication) {
        this.isAuthentication = isAuthentication;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

}

